//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04A
TN_Widget.CreateTable([['KB Burlesque: A Sizzling Burlesque Affair','Majestic Theatre Madison','Madison, WI','Saturday','4/27/2024','8:00 PM','6265833','KB-Burlesque--A-Sizzling-Burlesque-Affair-4-27-2024'],['MarchFourth','Majestic Theatre Madison','Madison, WI','Wednesday','5/1/2024','7:30 PM','6352567','MarchFourth-5-1-2024'],['Imminence','Majestic Theatre Madison','Madison, WI','Monday','5/6/2024','8:00 PM','6138139','Imminence-5-6-2024'],['Better Lovers','Majestic Theatre Madison','Madison, WI','Sunday','5/12/2024','7:00 PM','6138186','Better-Lovers-5-12-2024'],['Pokey LaFarge','Majestic Theatre Madison','Madison, WI','Wednesday','5/15/2024','8:00 PM','6264462','Pokey-LaFarge-5-15-2024'],['Rod Tuffcurls and The Bench Press','Majestic Theatre Madison','Madison, WI','Friday','5/24/2024','8:30 PM','6352568','Rod-Tuffcurls-and-The-Bench-Press-5-24-2024'],['Bit Brigade','Majestic Theatre Madison','Madison, WI','Wednesday','5/29/2024','8:00 PM','6304724','Bit-Brigade-5-29-2024'],['Sebastian Bach','Majestic Theatre Madison','Madison, WI','Wednesday','6/5/2024','8:00 PM','6295666','Sebastian-Bach-6-5-2024'],['The Crane Wives','Majestic Theatre Madison','Madison, WI','Thursday','6/6/2024','8:00 PM','6342540','The-Crane-Wives-6-6-2024'],['Baroness','Majestic Theatre Madison','Madison, WI','Friday','6/7/2024','8:00 PM','6395740','Baroness-6-7-2024'],['Sapphic Factory: Queer Joy Party','Majestic Theatre Madison','Madison, WI','Saturday','6/8/2024','9:30 PM','6281039','Sapphic-Factory--Queer-Joy-Party-6-8-2024'],['Shannon and the Clams','Majestic Theatre Madison','Madison, WI','Wednesday','6/12/2024','8:00 PM','6234396','Shannon-and-the-Clams-6-12-2024'],['Gimme Gimme Disco','Majestic Theatre Madison','Madison, WI','Saturday','6/15/2024','8:30 PM','6391642','Gimme-Gimme-Disco-6-15-2024'],['Murder by Death','Majestic Theatre Madison','Madison, WI','Friday','6/21/2024','8:00 PM','6271611','Murder-by-Death-6-21-2024'],['Arrows In Action','Majestic Theatre Madison','Madison, WI','Saturday','6/22/2024','7:30 PM','6316917','Arrows-In-Action-6-22-2024'],['Prince Daddy and The Hyena','Majestic Theatre Madison','Madison, WI','Tuesday','7/2/2024','7:00 PM','6356961','Prince-Daddy-and-The-Hyena-7-2-2024'],['Jessica Pratt','Majestic Theatre Madison','Madison, WI','Friday','7/19/2024','8:00 PM','6322109','Jessica-Pratt-7-19-2024'],['49 Winchester','Majestic Theatre Madison','Madison, WI','Saturday','7/20/2024','8:00 PM','6373500','49-Winchester-7-20-2024'],['Wilderado','Majestic Theatre Madison','Madison, WI','Sunday','7/21/2024','8:00 PM','6330657','Wilderado-7-21-2024'],['Destroy Boys','Majestic Theatre Madison','Madison, WI','Sunday','7/28/2024','7:00 PM','6388959','Destroy-Boys-7-28-2024'],['Leisure','Majestic Theatre Madison','Madison, WI','Sunday','8/4/2024','8:00 PM','6338719','Leisure-8-4-2024'],['The Volunteers','Majestic Theatre Madison','Madison, WI','Tuesday','8/6/2024','7:30 PM','6376754','The-Volunteers-8-6-2024'],['The Record Company','Majestic Theatre Madison','Madison, WI','Wednesday','9/11/2024','7:30 PM','6387697','The-Record-Company-9-11-2024'],['Leprous','Majestic Theatre Madison','Madison, WI','Friday','9/20/2024','7:00 PM','6374991','Leprous-9-20-2024'],['Summer Salt','Majestic Theatre Madison','Madison, WI','Friday','9/27/2024','8:00 PM','6386288','Summer-Salt-9-27-2024'],['Evan Honer','Majestic Theatre Madison','Madison, WI','Saturday','9/28/2024','8:00 PM','6371504','Evan-Honer-9-28-2024'],['The Airborne Toxic Event','Majestic Theatre Madison','Madison, WI','Wednesday','10/2/2024','8:00 PM','6370324','The-Airborne-Toxic-Event-10-2-2024'],['Mickey Guyton','Majestic Theatre Madison','Madison, WI','Tuesday','10/22/2024','7:30 PM','6408132','Mickey-Guyton-10-22-2024'],['Tokyo Police Club','Majestic Theatre Madison','Madison, WI','Saturday','11/2/2024','8:00 PM','6317962','Tokyo-Police-Club-11-2-2024'],['TopHouse','Majestic Theatre Madison','Madison, WI','Saturday','12/7/2024','7:30 PM','6313213','TopHouse-12-7-2024'],['Boogie T','Majestic Theatre Madison','Madison, WI','Wednesday','3/19/2070','TBD','4341132','Boogie-T-3-19-2070'],['Liquid Stranger','Majestic Theatre Madison','Madison, WI','Thursday','4/10/2070','TBD','4332041','Liquid-Stranger-4-10-2070']],'Majestic Theatre Madison','http://www.ticketnetwork.com/ticket/Majestic-Theatre-Madison-events.aspx');